<?php
/**
 * Created by PhpStorm.
 * User: chniccs
 * Date: 2019-12-18
 * Time: 9:00
 */

namespace app\model;


class AdminTenantConfig extends Base
{
    public function get($where){
        //可做一下缓存
        $model = parent::get($where);
        if(!$model){
            parent::create(['tid'=>$where['tid']]);
        }
        $model=parent::get($where);
        return $model;
    }

}